﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-14 11:40:36
// 负责人：liucx
// ===================================================================

using System;
using System.Collections.Generic;
using System.ComponentModel;
using OF.Component.Model;
using System.Runtime.Serialization;
namespace OF.Component.Model
{
    #region OperationLog数据实体
    /// <summary>
    ///操作日志数据实体  
    /// </summary>
    [Serializable]
    [DataContract]
    public class OperationLogInfo
    {

        #region 公共属性

        ///<summary>
        ///主键
        ///</summary>
        [Description("主键")]
        [DataMember]
        public long OperationLogID
        {
            get; set;
        }

        ///<summary>
        ///操作来源系统
        ///</summary>
        [Description("操作来源系统")]
        [DataMember]
        public string OpSystem
        {
            get; set;
        }

        ///<summary>
        ///操作模块（订单管理)
        ///</summary>
        [Description("操作模块（订单管理)")]
        [DataMember]
        public string OpModule
        {
            get; set;
        }

        ///<summary>
        ///操作业务（添加订单)
        ///</summary>
        [Description("操作业务（添加订单)")]
        [DataMember]
        public string OpBusiness
        {
            get; set;
        }

        ///<summary>
        ///操作方法(addOrder)
        ///</summary>
        [Description("操作方法(addOrder)")]
        [DataMember]
        public string OpMethod
        {
            get; set;
        }

        ///<summary>
        ///操作参数(金额、业务)
        ///</summary>
        [Description("操作参数(金额、业务)")]
        [DataMember]
        public string OPMethodParams
        {
            get; set;
        }

        ///<summary>
        ///操作类型(add)
        ///</summary>
        [Description("操作类型(add)")]
        [DataMember]
        public string OpType
        {
            get; set;
        }

        ///<summary>
        ///操作业务字段(订单id）
        ///</summary>
        [Description("操作业务字段(订单id）")]
        [DataMember]
        public string OpKeyField
        {
            get; set;
        }

        ///<summary>
        ///服务IP地址
        ///</summary>
        [Description("服务IP地址")]
        [DataMember]
        public string ServerIP
        {
            get; set;
        }

        ///<summary>
        ///服务系统（win2012)
        ///</summary>
        [Description("服务系统（win2012)")]
        [DataMember]
        public string ServerSystem
        {
            get; set;
        }

        ///<summary>
        ///唯一序列号
        ///</summary>
        [Description("唯一序列号")]
        [DataMember]
        public string SN
        {
            get; set;
        }

        ///<summary>
        ///操作前内容
        ///</summary>
        [Description("操作前内容")]
        [DataMember]
        public string OldData
        {
            get; set;
        }

        ///<summary>
        ///操作后内容
        ///</summary>
        [Description("操作后内容")]
        [DataMember]
        public string NewData
        {
            get; set;
        }

        ///<summary>
        ///操作明细
        ///</summary>
        [Description("操作明细")]
        [DataMember]
        public string OpContent
        {
            get; set;
        }

        ///<summary>
        ///操作时间
        ///</summary>
        [Description("操作时间")]
        [DataMember]
        public DateTime CreatedDate
        {
            get; set;
        }

        ///<summary>
        ///操作人
        ///</summary>
        [Description("操作人")]
        [DataMember]
        public int OpUserID
        {
            get; set;
        }

        ///<summary>
        ///操作人姓名
        ///</summary>
        [Description("操作人姓名")]
        [DataMember]
        public string OpUserName
        {
            get; set;
        }

        ///<summary>
        ///服务器地址(Order.AddOrder)
        ///</summary>
        [Description("服务器地址(Order.AddOrder)")]
        [DataMember]
        public string ServerUrl
        {
            get; set;
        }

        #endregion

        #region 构造函数
        ///<summary>
        ///操作日志
        ///</summary>
        public OperationLogInfo()
        {
        }

        #endregion
    }
    #endregion
}